<%@ include file="base.jsp" %>
<%@ page isELIgnored ="true" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<html>
<head>
<title>Insert title here</title>
<script type="text/javascript">
	$(document).ready(function() {
		$('#dialog').dialog({
			title:'My dialog code',
			width:200,
			height:200,
			closed:true,
			cache:false,
			href:'register.jsp',
			modal:true
		});
		$('#win').window({
			width:500,
			height:400,
			href:'register.jsp',
			modal:true
		});
	});
</script>
</head>
<body>

	<a href="javascript:void(0)" class="easyui-linkbutton" onclick="$('#dd').dialog('open')">Open</a>
	<div id="dialog">Dialog Content.</div>
	<div id="dd" class="easyui-dialog" title="My Dialog" style="width:400px;height:200px;"  
        data-options="iconCls:'icon-save',resizable:true,modal:true">  
		<div style="margin:10px 0;">
			<a href="javascript:void(0)" class="easyui-linkbutton" onclick="$('#dialog').dialog('open')">Open</a>
			<a href="javascript:void(0)" class="easyui-linkbutton" onclick="$('#dd').dialog('close')">Close</a>
		</div>
  		Dialog Content.  
	</div>
	<div id="win"></div>
</body>
</html>